# include<iostream>
using namespace std;

class A{
    int r1,r2;
    const int r3;
    static const int r4;
    public:
    A(int a,int b,int c):r1(a),r2(b),r3(c){}
    void print();
    void print() const;
};

const int A::r4=10;
void A::print(){
    cout<<r1<<" "<<r2<<" "<<r3<<" "<<r4<<endl;
}
void A::print() const{
    cout<<r1<<" "<<r2<<" "<<r3<<" "<<r4<<endl;
}

int main(){
    A obj(10,20,30);
    obj.print();
    const A obj1(100,200,300);
    obj1.print();
    return 0;
}